<!doctype html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<title>Mocha Tests</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<link rel="stylesheet" href="../node_modules/mocha/mocha.css" />
		<meta
			http-equiv="cache-control"
			content="no-cache, must-revalidate, post-check=0, pre-check=0"
		/>
		<meta http-equiv="cache-control" content="max-age=0" />
		<meta http-equiv="expires" content="0" />
		<meta http-equiv="expires" content="Tue, 01 Jan 1980 1:00:00 GMT" />
		<meta http-equiv="pragma" content="no-cache" />
		<meta
			name="htmx-config"
			content='{"historyEnabled":false,"defaultSettleDelay":0}'
		/>
	</head>
	<body style="padding: 20px; font-family: sans-serif">
		<h1 style="margin-top: 40px">core.js test suite</h1>

		<h2>Scratch Page</h2>
		<ul>
			<li>
				<a href="playground/scratch.html">Scratch Page</a>
			</li>
		</ul>

		<h2>Mocha Test Suite</h2>
		<a href="index.html">[RUN ALL]</a>

		<script src="../node_modules/chai/chai.js"></script>
		<script src="../node_modules/mocha/mocha.js"></script>
		<script src="../node_modules/sinon/pkg/sinon.js"></script>
		<script src="../src/_hyperscript.js"></script>
		<script src="../src/worker.js"></script>
		<script src="../src/socket.js"></script>
		<script src="../src/template.js"></script>
		<script src="../src/hdb.js"></script>
		<script src="../src/ext/tailwind.js"></script>

		<script class="mocha-init">
			mocha.setup("bdd");
			mocha.checkLeaks();
			should = chai.should();
			assert = chai.assert;
		</script>

		<script src="util/util.js"></script>

		<script src="core/bootstrap.js"></script>
		<script src="core/tokenizer.js"></script>
		<script src="core/sourceInfo.js"></script>
		<script src="core/parser.js"></script>
		<script src="core/regressions.js"></script>
		<script src="core/api.js"></script>
		<script src="core/runtime.js"></script>
		<script src="core/runtimeErrors.js"></script>
		<script src="core/security.js"></script>
		<script src="core/scoping.js"></script>

		<!-- features -->
		<script src="features/on.js"></script>
		<script src="features/def.js"></script>
		<script src="features/worker.js"></script>
		<script src="features/behavior.js"></script>
		<script src="features/js.js"></script>
		<script src="features/init.js"></script>
		<script src="features/set.js"></script>
		<script src="features/socket.js"></script>

		<!-- commands -->
		<script src="commands/add.js"></script>
		<script src="commands/append.js"></script>
		<script src="commands/async.js"></script>
		<script src="commands/remove.js"></script>
		<script src="commands/toggle.js"></script>
		<script src="commands/hide.js"></script>
		<script src="commands/show.js"></script>
		<script src="commands/wait.js"></script>
		<script src="commands/send.js"></script>
		<script src="commands/trigger.js"></script>
		<script src="commands/take.js"></script>
		<script src="commands/log.js"></script>
		<script src="commands/call.js"></script>
		<script src="commands/make.js"></script>
		<script src="commands/pseudoCommand.js"></script>
		<script src="commands/put.js"></script>
		<script src="commands/set.js"></script>
		<script src="commands/default.js"></script>
		<script src="commands/if.js"></script>
		<script src="commands/repeat.js"></script>
		<script src="commands/fetch.js"></script>
		<script src="commands/throw.js"></script>
		<script src="commands/js.js"></script>
		<script src="commands/transition.js"></script>
		<script src="commands/measure.js"></script>
		<script src="commands/pick.js"></script>
		<script src="commands/tell.js"></script>
		<script src="commands/settle.js"></script>
		<script src="commands/unlessModifier.js"></script>
		<script src="commands/increment.js"></script>

		<!-- expressions -->
		<!--
		<script src="expressions/attributeExpression.js"></script>
		-->
		<script src="expressions/strings.js"></script>
		<script src="expressions/stringPostfix.js"></script>
		<script src="expressions/numbers.js"></script>
		<script src="expressions/idRef.js"></script>
		<script src="expressions/classRef.js"></script>
		<script src="expressions/closest.js"></script>
		<script src="expressions/attributeRef.js"></script>
		<script src="expressions/symbol.js"></script>
		<script src="expressions/objectLiteral.js"></script>
		<script src="expressions/boolean.js"></script>
		<script src="expressions/null.js"></script>
		<script src="expressions/arrayLiteral.js"></script>
		<script src="expressions/blockLiteral.js"></script>
		<script src="expressions/not.js"></script>
		<script src="expressions/no.js"></script>
		<script src="expressions/some.js"></script>
		<script src="expressions/in.js"></script>
		<script src="expressions/mathOperator.js"></script>
		<script src="expressions/logicalOperator.js"></script>
		<script src="expressions/comparisonOperator.js"></script>
		<script src="expressions/typecheck.js"></script>
		<script src="expressions/functionCalls.js"></script>
		<script src="expressions/cookies.js"></script>
		<script src="expressions/async.js"></script>
		<script src="expressions/queryRef.js"></script>
		<script src="expressions/asExpression.js"></script>
		<script src="expressions/propertyAccess.js"></script>
		<script src="expressions/relativePositionalExpression.js"></script>
		<script src="expressions/positionalExpression.js"></script>
		<script src="expressions/possessiveExpression.js"></script>
		<script src="expressions/arrayIndex.js"></script>
		<script src="expressions/beep!.js"></script>

		<script src="templates/templates.js"></script>

		<!-- extensions -->
		<script src="ext/tailwind.js"></script>

		<div id="mocha"></div>

		<script class="mocha-exec">
			mocha.run();
		</script>
		<em>Work Area</em>
		<hr />
		<div id="work-area" hx-history-elt></div>
	</body>
</html>
